regexp.bitState.cap (field)
19 uses
regexp (current package)
backtrack.go#L39: cap []int
backtrack.go#L97: if cap(b.cap) < ncap {
backtrack.go#L98: b.cap = make([]int, ncap)
backtrack.go#L100: b.cap = b.cap[:ncap]
backtrack.go#L102: for i := range b.cap {
backtrack.go#L103: b.cap[i] = -1
backtrack.go#L245: b.cap[inst.Arg] = pos
backtrack.go#L248: if inst.Arg < uint32(len(b.cap)) {
backtrack.go#L250: b.push(re, pc, b.cap[inst.Arg], true) // come back when we're done.
backtrack.go#L251: b.cap[inst.Arg] = pos
backtrack.go#L272: if len(b.cap) == 0 {
backtrack.go#L279: if len(b.cap) > 1 {
backtrack.go#L280: b.cap[1] = pos
backtrack.go#L283: copy(b.matchcap, b.cap)
backtrack.go#L321: if len(b.cap) > 0 {
backtrack.go#L322: b.cap[0] = pos
backtrack.go#L348: if len(b.cap) > 0 {
backtrack.go#L349: b.cap[0] = pos
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |